import java.util.Arrays;

public class Demo1 {

    public static void main(String[] args) {


        int[] f = {1,2,3};
        String s1 = f.toString();

        System.out.println(s1);

        char[] a = {'d', 'g', '4', 'e'};
        String s2 = "ffff";
        StringBuffer s = new StringBuffer();
        s.append("efjisaofj");
        s.append(a);
        s.append(s2);
        System.out.println(s);
        s.reverse();
        System.out.println(s);
        
    }
}
